<?
// template
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?= @getVar('title', true); ?></title>
</head>
<body>

<h1><?= @$title; ?></h1>


<form>
	<ul>
		<li><label>Search: </label><input type="text" id="search" name="search"></li>
		<li><input name="submit" type="submit" value="Go"></li>
	</ul>
</form>
<? if ( !empty($this->search) ): ?>
	<p><?= $test; ?>Sorry, there is no result for "<?= @$search; ?>"
<? endif; ?>

<p><?= \@test(\@$test); ?></p>

<hr/>
<h2>Template:</h2>
<code>
<?= @$code; ?>
</code>
</body>
</html>